package com.linkage.lcims.base.po.cdma;

import java.util.Date;

import org.apache.commons.lang.builder.ToStringBuilder;


/**
 * CUserHis entity. @author MyEclipse Persistence Tools
 */

@SuppressWarnings("serial")
public class CUserHis  implements java.io.Serializable {


    // Fields    

     private Long serno;
     private Date itime;
     private Integer otype;
     private String username;
     private String realm;
     private String password;
     private Integer groupid;
     private Integer passwordtype;
     private Integer allowiptech;
     private String areacode;
     private Integer bindtype;
     private Integer status;
     private String mnhakey;
     private Integer noauthflag;
     private String imsi;
     private String mdn;
     private Integer usertype;
     private Integer chargetype;
     private Integer balance;
     private String framedip;
     private Integer roamlevel;
     private String ippool;
     private Integer limitusers;
     private String authorattr;
     private Date opendate;
     private String openoperator;
     private Date moddate;
     private String modoperator;


    // Constructors

    /** default constructor */
    public CUserHis() {
    }

	/** minimal constructor */
    public CUserHis(Long serno, Date itime, Integer otype, String username, String password, Integer groupid, Date opendate, String openoperator) {
        this.serno = serno;
        this.itime = itime;
        this.otype = otype;
        this.username = username;
        this.password = password;
        this.groupid = groupid;
        this.opendate = opendate;
        this.openoperator = openoperator;
    }
    
    /** full constructor */
    public CUserHis(Long serno, Date itime, Integer otype, String username, String realm, String password, Integer groupid, Integer passwordtype, Integer allowiptech, String areacode, Integer bindtype, Integer status, String mnhakey, Integer noauthflag, String imsi, String mdn, Integer usertype, Integer chargetype, Integer balance, String framedip, Integer roamlevel, String ippool, Integer limitusers, String authorattr, Date opendate, String openoperator, Date moddate, String modoperator) {
        this.serno = serno;
        this.itime = itime;
        this.otype = otype;
        this.username = username;
        this.realm = realm;
        this.password = password;
        this.groupid = groupid;
        this.passwordtype = passwordtype;
        this.allowiptech = allowiptech;
        this.areacode = areacode;
        this.bindtype = bindtype;
        this.status = status;
        this.mnhakey = mnhakey;
        this.noauthflag = noauthflag;
        this.imsi = imsi;
        this.mdn = mdn;
        this.usertype = usertype;
        this.chargetype = chargetype;
        this.balance = balance;
        this.framedip = framedip;
        this.roamlevel = roamlevel;
        this.ippool = ippool;
        this.limitusers = limitusers;
        this.authorattr = authorattr;
        this.opendate = opendate;
        this.openoperator = openoperator;
        this.moddate = moddate;
        this.modoperator = modoperator;
    }

   
    // Property accessors

    public Long getSerno() {
        return this.serno;
    }
    
    public void setSerno(Long serno) {
        this.serno = serno;
    }

    public Date getItime() {
        return this.itime;
    }
    
    public void setItime(Date itime) {
        this.itime = itime;
    }

    public Integer getOtype() {
        return this.otype;
    }
    
    public void setOtype(Integer otype) {
        this.otype = otype;
    }

    public String getUsername() {
        return this.username;
    }
    
    public void setUsername(String username) {
        this.username = username;
    }

    public String getRealm() {
        return this.realm;
    }
    
    public void setRealm(String realm) {
        this.realm = realm;
    }

    public String getPassword() {
        return this.password;
    }
    
    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getGroupid() {
        return this.groupid;
    }
    
    public void setGroupid(Integer groupid) {
        this.groupid = groupid;
    }

    public Integer getPasswordtype() {
        return this.passwordtype;
    }
    
    public void setPasswordtype(Integer passwordtype) {
        this.passwordtype = passwordtype;
    }

    public Integer getAllowiptech() {
        return this.allowiptech;
    }
    
    public void setAllowiptech(Integer allowiptech) {
        this.allowiptech = allowiptech;
    }

    public String getAreacode() {
        return this.areacode;
    }
    
    public void setAreacode(String areacode) {
        this.areacode = areacode;
    }

    public Integer getBindtype() {
        return this.bindtype;
    }
    
    public void setBindtype(Integer bindtype) {
        this.bindtype = bindtype;
    }

    public Integer getStatus() {
        return this.status;
    }
    
    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getMnhakey() {
        return this.mnhakey;
    }
    
    public void setMnhakey(String mnhakey) {
        this.mnhakey = mnhakey;
    }

    public Integer getNoauthflag() {
        return this.noauthflag;
    }
    
    public void setNoauthflag(Integer noauthflag) {
        this.noauthflag = noauthflag;
    }

    public String getImsi() {
        return this.imsi;
    }
    
    public void setImsi(String imsi) {
        this.imsi = imsi;
    }

    public String getMdn() {
        return this.mdn;
    }
    
    public void setMdn(String mdn) {
        this.mdn = mdn;
    }

    public Integer getUsertype() {
        return this.usertype;
    }
    
    public void setUsertype(Integer usertype) {
        this.usertype = usertype;
    }

    public Integer getChargetype() {
        return this.chargetype;
    }
    
    public void setChargetype(Integer chargetype) {
        this.chargetype = chargetype;
    }

    public Integer getBalance() {
        return this.balance;
    }
    
    public void setBalance(Integer balance) {
        this.balance = balance;
    }

    public String getFramedip() {
        return this.framedip;
    }
    
    public void setFramedip(String framedip) {
        this.framedip = framedip;
    }

    public Integer getRoamlevel() {
        return this.roamlevel;
    }
    
    public void setRoamlevel(Integer roamlevel) {
        this.roamlevel = roamlevel;
    }

    public String getIppool() {
        return this.ippool;
    }
    
    public void setIppool(String ippool) {
        this.ippool = ippool;
    }

    public Integer getLimitusers() {
        return this.limitusers;
    }
    
    public void setLimitusers(Integer limitusers) {
        this.limitusers = limitusers;
    }

    public String getAuthorattr() {
        return this.authorattr;
    }
    
    public void setAuthorattr(String authorattr) {
        this.authorattr = authorattr;
    }

    public Date getOpendate() {
        return this.opendate;
    }
    
    public void setOpendate(Date opendate) {
        this.opendate = opendate;
    }

    public String getOpenoperator() {
        return this.openoperator;
    }
    
    public void setOpenoperator(String openoperator) {
        this.openoperator = openoperator;
    }

    public Date getModdate() {
        return this.moddate;
    }
    
    public void setModdate(Date moddate) {
        this.moddate = moddate;
    }

    public String getModoperator() {
        return this.modoperator;
    }
    
    public void setModoperator(String modoperator) {
        this.modoperator = modoperator;
    }
   

    public String toString() {
        return new ToStringBuilder(this)
            .append("serno", getSerno())
            .toString();
    }






}